import fetch from 'common/fetch'
import {keyword} from 'common/uri'

export function getKeywordByTopicId(params) {
  return fetch({
    url: keyword.topicKeyword,
    method: 'get',
    params
  })
}

export function getKeywordData(params) {
  return fetch({
    url: keyword.keyword,
    method: 'get',
    params
  })
}
